package com.nnnu.orange.pojo.dto;

import lombok.Data;
import org.hibernate.validator.constraints.URL;

import java.time.LocalDate;

@Data
public class AuthorsDto {
    private Integer authorId;
    private String name;
    private String bio;
    private LocalDate birthDate;
    private String nationality;
    private LocalDate deathDate;
    private String awards;
    private String website;
    private String socialMedia;
    private String genres;
    private String notableWorks;
    @URL
    private String portraitUrl;
}
